const mysql = require('mysql');

// 创建连接对象
const config = mysql.createConnection({
  host: 'localhost',
  user: 'root',
  password: '12345678',
  port: '3306',
  database: 'testdemo',
});
config.connect();
module.exports = config;
